#ifndef __IIC_OLED_H__
#define __IIC_OLED_H__

/* 角 */
u8 jiao[32] = {0x00,0x40,0x20,0x30,0xf8,0xec,0x2f,0x27,
               0xe4,0xe4,0x34,0x3c,0xee,0xf4,0x20,0x00,
               0x00,0x00,0x80,0x60,0x3f,0x1f,0x09,0x09,
               0xff,0x7f,0x09,0x49,0xff,0x7f,0x00,0x00};

/* 度 */
u8 du[32] = {0x00,0x00,0x00,0xfe,0xfc,0x24,0x24,0xfc,
             0xf4,0xa7,0xa6,0xfc,0xf4,0x24,0x36,0x24,
             0x00,0x40,0x38,0x1f,0x07,0x80,0x82,0x47,
             0x6e,0x3a,0x12,0x3b,0x6e,0x67,0xc2,0x40};

u8 up_char[26][32] = {
    /* A */
    {0x00,0x00,0x00,0x00,0xc0,0xb0,0x8c,0x82,0x8c,0xb0,0xc0,0x00,0x00,0x00,0x00,0x00,
     0x00,0x08,0x0c,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x0c,0x08,0x00,0x00},
    /* B */
    {0x00,0x02,0xfe,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0xa2,0x1c,0x00,0x00,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x07,0x00,0x00,0x00,0x00},
    /* C */
    {0x00,0x00,0xf8,0x04,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x04,0x08,0x00,0x00,0x00,
     0x00,0x00,0x03,0x04,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x02,0x00,0x00,0x00},
    /* D */
    {0x00,0x02,0xfe,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x04,0xf8,0x00,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x03,0x00,0x00,0x00},
    /* E */
    {0x00,0x02,0xfe,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0xe2,0x02,0x02,0x0e,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x0e,0x00,0x00},
    /* F */
    {0x00,0x02,0xfe,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0xe2,0x02,0x02,0x0e,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* G */
    {0x00,0x00,0xf8,0x04,0x02,0x02,0x02,0x02,0x02,0x02,0x82,0x84,0x8e,0x80,0x00,0x00,
     0x00,0x00,0x03,0x04,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x0f,0x00,0x00,0x00},
    /* H */
    {0x00,0x02,0xfe,0x42,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x42,0xfe,0x02,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x0f,0x08,0x00,0x00},
    /* I */
    {0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xfe,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
     0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* J */
    {0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xfe,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
     0x00,0x00,0x00,0x00,0x06,0x08,0x08,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* K */
    {0x00,0x00,0x02,0xfe,0x22,0x20,0x50,0x88,0x06,0x02,0x02,0x00,0x00,0x00,0x00,0x00,
     0x00,0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x01,0x02,0x0c,0x08,0x08,0x00,0x00,0x00},
    /* L */
    {0x00,0x02,0xfe,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x0e,0x00,0x00,0x00,0x00},
    /* M */
    {0x02,0xfe,0x04,0x08,0x10,0x20,0x40,0x80,0x40,0x20,0x10,0x08,0x04,0xfe,0x02,0x00,
     0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x0f,0x08,0x00},
    /* N */
    {0x00,0x02,0xfe,0x04,0x08,0x10,0x20,0x40,0x80,0x00,0x00,0x02,0xfe,0x02,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x04,0x0f,0x00,0x00,0x00},
    /* O */
    {0x00,0x00,0xf0,0x08,0x04,0x02,0x02,0x02,0x02,0x02,0x04,0x08,0xf0,0x00,0x00,0x00,
     0x00,0x00,0x01,0x02,0x04,0x08,0x08,0x08,0x08,0x08,0x04,0x02,0x01,0x00,0x00,0x00},
    /* P */
    {0x00,0x02,0xfe,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* Q */
    {0x00,0x00,0xf0,0x08,0x04,0x02,0x02,0x02,0x02,0x02,0x04,0x08,0xf0,0x00,0x00,0x00,
     0x00,0x00,0x01,0x02,0x04,0x08,0x08,0x0a,0x0a,0x0c,0x14,0x12,0x01,0x00,0x00,0x00},
    /* R */
    {0x00,0x02,0xfe,0x42,0x42,0xc2,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00,0x00,0x00,
     0x00,0x08,0x0f,0x08,0x00,0x00,0x01,0x02,0x04,0x08,0x08,0x08,0x00,0x00,0x00,0x00},
    /* S */
    {0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x84,0x0e,0x00,0x00,0x00,
     0x00,0x00,0x0e,0x04,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x03,0x00,0x00,0x00},
    /* T */
    {0x00,0x06,0x02,0x02,0x02,0x02,0x02,0xfe,0x02,0x02,0x02,0x02,0x02,0x06,0x00,0x00,
     0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* U */
    {0x00,0x02,0xfe,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xfe,0x02,0x00,0x00,
     0x00,0x00,0x03,0x04,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x04,0x03,0x00,0x00,0x00},
    /* V */
    {0x00,0x02,0x06,0x1a,0x60,0x80,0x00,0x00,0x00,0x80,0x60,0x1a,0x06,0x02,0x00,0x00,
     0x00,0x00,0x00,0x00,0x00,0x01,0x06,0x08,0x06,0x01,0x00,0x00,0x00,0x00,0x00,0x00},
    /* W */
    {0x02,0x1e,0xe2,0x00,0x00,0x00,0xe2,0x1e,0xe2,0x00,0x00,0x00,0xe2,0x1e,0x02,0x00,
     0x00,0x00,0x00,0x03,0x0c,0x03,0x00,0x00,0x00,0x03,0x0c,0x03,0x00,0x00,0x00,0x00},
    /* X */
    {0x00,0x02,0x02,0x06,0x08,0x10,0xa0,0x40,0xa0,0x10,0x08,0x06,0x02,0x02,0x00,0x00,
     0x00,0x08,0x08,0x0c,0x02,0x01,0x00,0x00,0x00,0x01,0x02,0x0c,0x08,0x08,0x00,0x00},
    /* Y */
    {0x00,0x02,0x06,0x0a,0x10,0x20,0x40,0x80,0x40,0x20,0x10,0x0a,0x06,0x02,0x00,0x00,
     0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x0f,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
    /* Z */
    {0x00,0x00,0x0e,0x02,0x02,0x02,0x82,0x42,0x22,0x12,0x0a,0x06,0x02,0x00,0x00,0x00,
     0x00,0x00,0x08,0x0c,0x0a,0x09,0x08,0x08,0x08,0x08,0x08,0x08,0x0e,0x00,0x00,0x00}
};


u8 low_char[26][32] = {
    /* a */
    {0x80,0xc0,0x40,0x40,0x40,0xc0,0x80,0x00,0x00,
     0x0c,0x1e,0x12,0x12,0x12,0x1f,0x0f,0x10,0x10},
    /* b */
    {0x04,0xfc,0xfc,0x40,0x40,0x40,0x40,0x80,0x80,0x00,
     0x10,0x0f,0x1f,0x10,0x10,0x10,0x10,0x1f,0x0f,0x00},
    /* c */
    {0x80,0x80,0x40,0x40,0x40,0x40,0xc0,0x80,0x00,0x00,
     0x0f,0x1f,0x10,0x10,0x10,0x10,0x18,0x08,0x00,0x00},
    /* d */
    {0x80,0xc0,0x40,0x40,0x44,0xfc,0xfc,0x00,0x00,0x00,
     0x0f,0x1f,0x10,0x10,0x10,0x1f,0x0f,0x10,0x00,0x00},
    /* e */
    {0x80,0x80,0x40,0x40,0x40,0x40,0xc0,0x80,0x00,0x00,
     0x0f,0x1f,0x12,0x12,0x12,0x12,0x1b,0x0b,0x00,0x00},
    /* f */
    {0x00,0x40,0x40,0xf8,0xfc,0x44,0x44,0x0c,0x08,0x00,
     0x00,0x00,0x10,0x1f,0x1f,0x10,0x00,0x00,0x00,0x00},
    /* g */
    {0x00,0x80,0xc0,0x40,0x40,0xc0,0xc0,0x40,0x40,0x00,
     0x30,0x7d,0xdf,0x8a,0x8a,0xdb,0x71,0x30,0x00,0x00},
    /* h */
    {0x04,0xfc,0xfc,0x80,0x40,0x40,0xc0,0x80,0x00,0x00,
     0x10,0x1f,0x1f,0x00,0x00,0x10,0x1f,0x1f,0x10,0x00},
    /* i */
    {0x00,0x40,0xd8,0xd8,0x00,0x00,
     0x00,0x10,0x1f,0x1f,0x10,0x00},
    /* j */
    {0x00,0x00,0x00,0x00,0x40,0xd8,0xd8,0x00,
     0x00,0x30,0x70,0x40,0x40,0x7f,0x3f,0x00},
    /* k */
    {0x04,0xfc,0xfc,0x00,0x00,0x40,0xc0,0xc0,0x40,0x00,
     0x10,0x1f,0x1f,0x06,0x02,0x07,0x1d,0x18,0x10,0x10},
    /* l */
    {0x00,0x04,0xfc,0xfc,0x00,0x00,
     0x00,0x10,0x1f,0x1f,0x10,0x00},
    /* m */
    {0x40,0x40,0x80,0xc0,0x40,0x40,0x40,0x80,0xc0,0x40,0x40,0x40,0xc0,0x80,0x00,
     0x00,0x10,0x1f,0x1f,0x10,0x00,0x10,0x1f,0x1f,0x10,0x00,0x10,0x1f,0x1f,0x10},
    /* n */
    {0x40,0x40,0x80,0xc0,0x40,0x40,0x40,0x40,0xc0,0x80,0x00,0x00,
     0x00,0x10,0x1f,0x1f,0x10,0x00,0x00,0x10,0x1f,0x1f,0x10,0x00},
    /* o */
    {0x00,0x80,0xc0,0x40,0x40,0x40,0xc0,0x80,
     0x00,0x0f,0x1f,0x10,0x10,0x10,0x1f,0x0f},
    /* p */
    {0x40,0x40,0x80,0x80,0x40,0x40,0x40,0x40,0xc0,0x80,
     0x00,0x80,0xff,0xff,0x90,0x10,0x10,0x10,0x0f,0x0f},
    /* q */
    {0x00,0x80,0xc0,0x40,0x40,0x40,0xc0,0x80,0x40,0x00,
     0x00,0x07,0x0f,0x08,0x08,0x88,0xff,0xff,0x80,0x00},
    /* r */
    {0x40,0xc0,0x80,0x40,0x40,0x40,0x40,0xc0,0x80,0x00,
     0x10,0x1f,0x1f,0x10,0x00,0x00,0x00,0x00,0x00,0x00},
    /* s */
    {0x80,0xc0,0x40,0x40,0x40,0xc0,0x80,0x00,
     0x08,0x19,0x13,0x12,0x12,0x1e,0x0c,0x00},
    /* t */
    {0x40,0x40,0xf0,0xf8,0x40,0x40,0x00,0x00,
     0x00,0x00,0x0f,0x1f,0x10,0x10,0x0c,0x00},
    /* u */
    {0x40,0xc0,0xc0,0x00,0x00,0x00,0x40,0xc0,0xc0,0x00,
     0x00,0x0f,0x1f,0x10,0x10,0x10,0x18,0x0f,0x1f,0x10},
    /* v */
    {0x40,0xc0,0xc0,0x40,0x00,0x00,0x00,0x00,0x00,0x40,0xc0,0x40,
     0x00,0x00,0x01,0x03,0x06,0x0c,0x18,0x0c,0x02,0x01,0x00,0x00},
    /* w */
    {0x40,0xc0,0xc0,0x40,0x00,0x40,0xc0,0xc0,0x40,0x00,0x40,0xc0,0x40,0x00,
     0x00,0x00,0x03,0x0e,0x18,0x06,0x01,0x03,0x0e,0x18,0x07,0x01,0x00,0x00},
    /* x */
    {0x00,0x40,0xc0,0xc0,0x00,0x00,0xc0,0xc0,0x40,0x00,
     0x00,0x10,0x18,0x1d,0x07,0x07,0x1d,0x18,0x10,0x00},
    /* y */
    {0x00,0x40,0xc0,0xc0,0xc0,0x40,0x00,0x00,0x40,0xc0,0x40,0x00,
     0x00,0x00,0x80,0xc1,0x27,0x1e,0x04,0x02,0x01,0x00,0x00,0x00},
    /* z */
    {0xc0,0x40,0x40,0x40,0x40,0xc0,0xc0,0x00,
     0x18,0x1c,0x16,0x12,0x11,0x11,0x18,0x00}
};

u8 num[10][32] = {
    {0x00,0xf0,0xf8,0x0c,0x04,0x04,0x04,0x0c,0xf8,0xf0,
     0x00,0x0f,0x1f,0x30,0x20,0x20,0x20,0x30,0x1f,0x0f},
    {0x00,0x00,0x00,0x08,0xf8,0xfc,0x00,0x00,0x00,0x00,
     0x00,0x00,0x00,0x20,0x3f,0x3f,0x20,0x00,0x00,0x00},
    {0x00,0x30,0x38,0x0c,0x04,0x04,0x0c,0xf8,0xf0,0x00,
     0x00,0x20,0x30,0x38,0x2c,0x26,0x23,0x21,0x38,0x00},
    {0x00,0x10,0x18,0x0c,0x84,0x84,0xcc,0x78,0x30,0x00,
     0x00,0x08,0x18,0x30,0x20,0x20,0x31,0x1f,0x0e,0x00},
    {0x00,0x80,0xc0,0x70,0x18,0xfc,0xfe,0x00,0x00,0x00,
     0x06,0x07,0x05,0x04,0x24,0x3f,0x3f,0x24,0x04,0x00},
    {0x00,0xfc,0xfc,0xc4,0x44,0x44,0xc4,0x84,0x04,0x00,
     0x00,0x08,0x18,0x30,0x20,0x20,0x30,0x1f,0x0f,0x00},
    {0x00,0xf0,0xf8,0x8c,0x44,0x44,0xcc,0x98,0x10,0x00,
     0x00,0x0f,0x1f,0x30,0x20,0x20,0x30,0x1f,0x0f,0x00},
    {0x00,0x1c,0x0c,0x0c,0x0c,0xcc,0xec,0x3c,0x1c,0x00,
     0x00,0x00,0x00,0x3c,0x3f,0x03,0x00,0x00,0x00,0x00},
    {0x00,0x30,0x78,0xcc,0x84,0x84,0xcc,0x78,0x30,0x00,
     0x00,0x0e,0x1f,0x31,0x20,0x20,0x31,0x1f,0x0e,0x00},
    {0x00,0xf0,0xf8,0x0c,0x04,0x04,0x0c,0xf8,0xf0,0x00,
     0x00,0x08,0x19,0x33,0x22,0x22,0x33,0x1f,0x0f,0x00}
};

u8 comma[8] = {0x09, 0x07, 0x0, 0x0, 0x0, 0x0};
u8 end_point[8] = {0x0, 0x0C, 0x0C, 0x0};
u8 slash[16] = {0x0, 0x0, 0x0, 0x0, 0xC0, 0x30, 0x0C, 0x0, 0x0, 0x30, 0x0C, 0x03, 0x0, 0x0, 0x0, 0x0};
u8 dash[8]  = {0x0, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x0};
u8 colon[8]  = {0x0, 0x41, 0x41};
u8 angle_symbol[8] = {0x18, 0x24, 0x24, 0x18};

#endif
